<div class="view">

	<b><?php echo CHtml::encode($data->getAttributeLabel('order_id')); ?>:</b>
	<?php echo CHtml::link(CHtml::encode($data->order_id), array('view', 'id'=>$data->order_id)); ?>
	<br />

	<b><?php echo CHtml::encode($data->getAttributeLabel('order_sn')); ?>:</b>
	<?php echo CHtml::encode($data->order_sn); ?>
	<br />

	<b><?php echo CHtml::encode($data->getAttributeLabel('user_id')); ?>:</b>
	<?php echo CHtml::encode($data->user_id); ?>
	<br />

	<b><?php echo CHtml::encode($data->getAttributeLabel('total')); ?>:</b>
	<?php echo CHtml::encode($data->total); ?>
	<br />

	<b><?php echo CHtml::encode($data->getAttributeLabel('order_status')); ?>:</b>
	<?php echo CHtml::encode($data->orderStatusToText()); ?>
	<br />

	<b><?php echo CHtml::encode($data->getAttributeLabel('shipping_status')); ?>:</b>
	<?php echo CHtml::encode($data->shippingStatusToText()); ?>
	<br />

	<b><?php echo CHtml::encode($data->getAttributeLabel('pay_status')); ?>:</b>
	<?php echo CHtml::encode($data->payStatusToText()); ?>
	<br />
	
	<b><?php echo CHtml::encode($data->getAttributeLabel('confirm_status')); ?>:</b>
	<?php echo CHtml::encode($data->confirm_status == 0?'unconfirmed':'confirmed'); ?>
	<br />

	<b><?php echo CHtml::encode($data->getAttributeLabel('country')); ?>:</b>
	<?php echo CHtml::encode('中国'); ?>
	<br />

	<b><?php echo CHtml::encode($data->getAttributeLabel('province')); ?>:</b>
	<?php echo CHtml::encode($data->getProvinceText()); ?>
	<br />

	<b><?php echo CHtml::encode($data->getAttributeLabel('city')); ?>:</b>
	<?php echo CHtml::encode($data->getCityText()); ?>
	<br />

	<b><?php echo CHtml::encode($data->getAttributeLabel('district')); ?>:</b>
	<?php echo CHtml::encode($data->getDistrictText()); ?>
	<br />

	<b><?php echo CHtml::encode($data->getAttributeLabel('address')); ?>:</b>
	<?php echo CHtml::encode($data->address); ?>
	<br />

	<b><?php echo CHtml::encode($data->getAttributeLabel('zipcode')); ?>:</b>
	<?php echo CHtml::encode($data->zipcode); ?>
	<br />

	<b><?php echo CHtml::encode($data->getAttributeLabel('name')); ?>:</b>
	<?php echo CHtml::encode($data->name); ?>
	<br />

	<b><?php echo CHtml::encode($data->getAttributeLabel('telephone')); ?>:</b>
	<?php echo CHtml::encode($data->telephone); ?>
	<br />

	<b><?php echo CHtml::encode($data->getAttributeLabel('order_time')); ?>:</b>
	<?php echo CHtml::encode($data->order_time!=0?date('Y-m-d H:i:s',$data->order_time):'not ordered yet'); ?>
	<br />

	<b><?php echo CHtml::encode($data->getAttributeLabel('pay_time')); ?>:</b>
	<?php echo CHtml::encode($data->order_time!=0?date('Y-m-d H:i:s',$data->pay_time):'not payed yet'); ?>
	<br />

	<b><?php echo CHtml::encode($data->getAttributeLabel('shipping_time')); ?>:</b>
	<?php echo CHtml::encode($data->order_time!=0?date('Y-m-d H:i:s',$data->shipping_time):'not shippinged yet'); ?>
	<br />

	<b><?php echo CHtml::encode($data->getAttributeLabel('confirm_time')); ?>:</b>
	<?php echo CHtml::encode($data->order_time!=0?date('Y-m-d H:i:s',$data->confirm_time):'not confirmed yet'); ?>
	<br />

</div>
